package com.sf.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 集货团成员信息Entity类
 * 该类与数据库中的表pca_collect_member对应 
 * 
 * @author 604625
 */
public class CollectMember implements Serializable {
    private Integer id;

    private Integer cid;

    private String openid;

    private String createEmp;

    private Date createTm;

    private String userdef1;

    private String userdef2;

    private String userdef3;

    private String userdef4;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getCreateEmp() {
        return createEmp;
    }

    public void setCreateEmp(String createEmp) {
        this.createEmp = createEmp == null ? null : createEmp.trim();
    }

    public Date getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    public String getUserdef1() {
        return userdef1;
    }

    public void setUserdef1(String userdef1) {
        this.userdef1 = userdef1 == null ? null : userdef1.trim();
    }

    public String getUserdef2() {
        return userdef2;
    }

    public void setUserdef2(String userdef2) {
        this.userdef2 = userdef2 == null ? null : userdef2.trim();
    }

    public String getUserdef3() {
        return userdef3;
    }

    public void setUserdef3(String userdef3) {
        this.userdef3 = userdef3 == null ? null : userdef3.trim();
    }

    public String getUserdef4() {
        return userdef4;
    }

    public void setUserdef4(String userdef4) {
        this.userdef4 = userdef4 == null ? null : userdef4.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", cid=").append(cid);
        sb.append(", openid=").append(openid);
        sb.append(", createEmp=").append(createEmp);
        sb.append(", createTm=").append(createTm);
        sb.append(", userdef1=").append(userdef1);
        sb.append(", userdef2=").append(userdef2);
        sb.append(", userdef3=").append(userdef3);
        sb.append(", userdef4=").append(userdef4);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}